#ifndef PAGEEVENTSIDENAVI_H
#define PAGEEVENTSIDENAVI_H

#include <QWidget>
#include <QPushButton>
#include <QButtonGroup>
#include "global_def.h"

namespace Ui {
class PageEventSideNavi;
}

class PageEventSideNavi : public QWidget
{
    Q_OBJECT

public:
    explicit PageEventSideNavi(QWidget *parent = nullptr);
    ~PageEventSideNavi();
    void ResetBtnCheckStat();
    int EventBtnId() const;
signals:
    void signal_show_event_page(int index);
    void signal_show_event_hint();
private:
    Ui::PageEventSideNavi *ui;
    QStringList m_lNaviBtnName;
    QButtonGroup m_cNaviBtnGroup;
    uint m_nStartx;
    uint m_nStarty;
    uint m_nNaviBtnLen;
    uint m_nNaviBtnHeight;
    uint m_nVSpace;
private:
    void InitBtns();
};

#endif // PAGEEVENTSIDENAVI_H
